home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / var / db / pkg / net-wireless / rtl8180-0.21-r1 / rtl8180-0.21-r1.ebuild < prev    next >
Text File  |  2006-05-11  |  979b  |  38 lines

  1. # Copyright 1999-2005 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /root/portage/net-wireless/rtl8180/rtl8180-0.21-r1.ebuild,v 1.1.1.2 2006/03/22 23:00:25 grimmlin Exp $
  4.  
  5. inherit linux-mod eutils
  6.  
  7. DESCRIPTION="Driver for the rtl8180 wireless chipset with injection patch"
  8. HOMEPAGE="http://rtl8180-sa2400.sourceforge.net"
  9. SRC_URI="mirror://sourceforge/rtl8180-sa2400/${P}.tar.gz"
  10. LICENSE="GPL-2"
  11.  
  12. KEYWORDS="~x86 ~ppc"
  13. IUSE=""
  14. DEPEND="net-wireless/wireless-tools"
  15.  
  16. MODULE_NAMES="ieee80211_crypt-r8180(net:) ieee80211_crypt_wep-r8180(net:)
  17.     ieee80211-r8180(net:) r8180(net:)"
  18. CONFIG_CHECK="NET_RADIO CRYPTO CRYPTO_ARC4 CRC32"
  19. BUILD_TARGETS="all"
  20.  
  21. pkg_setup() {
  22.     linux-mod_pkg_setup
  23.     BUILD_PARAMS="KSRC=${KV_DIR}"
  24. }
  25.  
  26. src_unpack() {
  27.     unpack ${A}
  28.     cd ${S}
  29.     epatch ${FILESDIR}/rtl8180_gcc4_fix.patch
  30.     epatch ${FILESDIR}/rtl8180-0.21.patch
  31. }
  32.  
  33. src_install() {
  34.     linux-mod_src_install
  35.  
  36.     dodoc AUTHORS CHANGES INSTALL README README.adhoc
  37. }
  38.